package com.smxy.daydayup.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.smxy.daydayup.mapper.ExamMapper;
import com.smxy.daydayup.pojo.Exam;
import com.smxy.daydayup.service.ExamService;
/**
  * @team daydayup
  * @time 2021-12-06 21:45
  */
@Service
public class ExamServiceImpl implements ExamService{

    @Resource
    private ExamMapper examMapper;

    @Override
    public int deleteByPrimaryKey(Long examId) {
        return examMapper.deleteByPrimaryKey(examId);
    }

    @Override
    public int insert(Exam record) {
        return examMapper.insert(record);
    }

    @Override
    public int insertSelective(Exam record) {
        return examMapper.insertSelective(record);
    }

    @Override
    public Exam selectByPrimaryKey(Long examId) {
        return examMapper.selectByPrimaryKey(examId);
    }

    @Override
    public int updateByPrimaryKeySelective(Exam record) {
        return examMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Exam record) {
        return examMapper.updateByPrimaryKey(record);
    }

}
